package com.east.spark.parttern.facade;

public class Nanny {

	Cook cook;

	public Nanny(Cook cook) {
		super();
		this.cook = cook;
	}

	// 做饭流程一体化
	public void cook(String _vegetables) {
		cook.buyVegetables(_vegetables);
		cook.washVegetables();
		cook.cooking();
	}
}
